<?php
require_once("config.php");
require_once("Info.php");
require_once("Artist.php");
//require_once("ArtistWiki.php");

// Artist bio/wiki section
if(!empty($_GET['artist'])) {
    $artist = new Artist($_GET['artist']);
    echo '<h3>'.ucwords($artist->name).'</h3>';
    echo '<img src="'.$artist->getAvatarFullSize().'" alt="'.$artist->name.'" style="text-align:right"/>';
    echo $artist->getBioSummary();
    echo '<br/><br/>';
    echo '<a href="'.$artist->url.'">'.$artist->url.'</a>';
    echo '<br/><br/>';
} 
?>